.wraper{
	&.iphone{
		padding-top: 0;
		.nav-bar{
			padding-top: 20px;
		}
		.content{
			margin-top: 85px;
		}
		&.padTop{
			.nav-bar{
				padding-top: 40px;
			}
			.content{
				margin-top: 105px;
			}
		}
	}
	.nav-bar{
		// border-bottom: 1px solid #E8E8E8;
		position: fixed;
		left: 0;
		right: 0;
		top: 0;
		z-index: 2;
		height: 45px;
		margin:0;
		background-color: #fff;
		.arrow{
			height: 45px;
			line-height: 45px;
			background-image: url('../../static/images/back-black.png');
		}
		.center{
			font-size: 16px;
			color: #333;
		}
		span{
			width: 0.8rem;
			height: 45px;
			line-height: 45px;
			margin-right: 0.2rem;
			color: #666;
			font-size: 14px;
		}
	}
}
.redhome{
	background-image: url('https://n-bkt.deepcoin.me/1610502086203');
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: center top;
	overflow: hidden;
	.content{
		margin-top: 65px;
	}
	.rob-all{
		width:94%;
		margin: 0.4rem auto 0.3rem auto;
		background-image: url('../../static/images/redpacket/red_package_blance_image.png');
		background-size: 100%;
		background-repeat: no-repeat;
		border-radius:0.16rem;
		color: #1DA06D;
		text-align: center;
		position: relative;
		h1{
			font-weight: normal;
			font-size: 0.3rem;
			padding-top: 0.4rem;
		}
		h2{
			font-weight: 500;
			padding: 0.25rem 0 0.4rem 0;
			font-size: 0.55rem;
		}
		span{
			color: #fff;
			font-size: 15px;
			width:50px;
			height:30px;
			line-height: 30px;
			background:rgba(255,255,255,0.2);
			border-radius:16px;
			position: absolute;
			right: 10px;
			top: 10px;
		}
	}
	.red-list{
		width: 94%;
		height: 4.8rem;
		margin: 0 auto;
		position: relative;
		.empty{
			text-align: center;
			font-size: 0.38rem;
			padding-top: 2rem;
			color: #fff;
		}
		.item{
			width: 1.7rem;
			text-align: center;
			animation:heart 1.3s ease-in-out .7s infinite alternate;
			.img{
				width: 0.96rem;
				height: 0.96rem;
				background-size: 100%;
				background-repeat: no-repeat;
				font-size: 0;
				margin: 0 auto;
				&.zh{
					&.status1{
						background-image: url('../../static/images/redpacket/red-btn-status1.png');
					}
					&.status2{
						background-image: url('../../static/images/redpacket/red-btn-status2.png');
					}
					&.status3{
						background-image: url('../../static/images/redpacket/red-btn-status3.png');
					}
				}
				&.ja,&.en{
					&.status1{
						background-image: url('../../static/images/redpacket/red-btn-s1.png');
					}
					&.status2{
						background-image: url('../../static/images/redpacket/red-btn-s2.png');
					}
					&.status3{
						background-image: url('../../static/images/redpacket/red-btn-s3.png');
					}
				}
			}
			p{
				color: #FC6B04;
				font-size: 0.24rem;
				padding-top: 0.17rem;
				padding-bottom: 0.03rem;
			}
		}
		&.sort1{
			.item{
				&:nth-child(1){position: absolute;left: 0;top: 0.2rem;}
				&:nth-child(2){position: absolute;left: 1.3rem;top: 0.7rem;}
				&:nth-child(3){position: absolute;left: 5rem;top: 2.8rem;}
				&:nth-child(4){position: absolute;left: 3rem;top: 0.8rem;}
				&:nth-child(5){position: absolute;left: 0.3rem;top: 2rem;}
				&:nth-child(6){position: absolute;left: 3rem;top: 3.6rem;}
				&:nth-child(7){position: absolute;left: 3.8rem;top: 1.9rem;}
				&:nth-child(8){position: absolute;left: 0.8rem;top: 3.5rem;}
				&:nth-child(9){position: absolute;left: 1.6rem;top: 2.4rem;}
				&:nth-child(10){position: absolute;right: 0.1rem;top: 0.7rem;}
			}
		}
		&.sort2{
			.item{
				&:nth-child(1){position: absolute;left: 0.3;top: 0.1rem;}
				&:nth-child(2){position: absolute;left: 1;top: 1.7rem;}
				&:nth-child(3){position: absolute;left: 1.5rem;top: 1.2rem;}
				&:nth-child(4){position: absolute;left: 3.6rem;top: 2.4rem;}
				&:nth-child(5){position: absolute;left: 4rem;top: 4rem;}
				&:nth-child(6){position: absolute;left: 3rem;top: .6rem;}
				&:nth-child(7){position: absolute;left: 5rem;top: 2.4rem;}
				&:nth-child(8){position: absolute;left: 0.3rem;top: 3.5rem;}
				&:nth-child(9){position: absolute;left: 1.6rem;top: 2.9rem;}
				&:nth-child(10){position: absolute;right: 0.1rem;top: 0.7rem;}
			}
		}
		&.sort3{
			.item{
				&:nth-child(1){position: absolute;left: 1;top: 1rem;}
				&:nth-child(2){position: absolute;left: 1.3;top: 2.8rem;}
				&:nth-child(3){position: absolute;left: 1.5rem;top: 1.2rem;}
				&:nth-child(4){position: absolute;left: 3.1rem;top: 3.2rem;}
				&:nth-child(5){position: absolute;left: 4.4rem;top: 3.6rem;}
				&:nth-child(6){position: absolute;left: 3rem;top: .6rem;}
				&:nth-child(7){position: absolute;left: 4rem;top: 2rem;}
				&:nth-child(8){position: absolute;left: 1rem;top: 3.6rem;}
				&:nth-child(9){position: absolute;left: 2rem;top: 2.9rem;}
				&:nth-child(10){position: absolute;right: 0.2rem;top: 0.9rem;}
			}
		}
		&.sort4{
			.item{
				&:nth-child(1){position: absolute;left: 0.8;top: 0rem;}
				&:nth-child(2){position: absolute;left: 1;top: 2rem;}
				&:nth-child(3){position: absolute;right: 0;top: 1.5rem;}
				&:nth-child(4){position: absolute;left: 2.2rem;top: 2.6rem;}
				&:nth-child(5){position: absolute;left: 3.2rem;top: 4rem;}
				&:nth-child(6){position: absolute;left: 2.7rem;top: .6rem;}
				&:nth-child(7){position: absolute;left: 4.2rem;top: 2.4rem;}
				&:nth-child(8){position: absolute;left: 0.8rem;top: 4rem;}
				&:nth-child(9){position: absolute;right: 0;bottom: 0;}
				&:nth-child(10){position: absolute;right: 0.8rem;top: 0.1rem;}
			}
		}
		&.sort5{
			.item{
				&:nth-child(1){position: absolute;left: 0;top: 0.2rem;}
				&:nth-child(2){position: absolute;left: 2.2rem;top: 0.7rem;}
				&:nth-child(3){position: absolute;right: 0;top: 0.4rem;}
				&:nth-child(4){position: absolute;left: 0;top: 2.2rem;}
				&:nth-child(5){position: absolute;left: 1.3rem;top: 2.2rem;}
				&:nth-child(6){position: absolute;left: 3rem;top: 3.6rem;}
				&:nth-child(7){position: absolute;left: 3.8rem;top: 1.9rem;}
				&:nth-child(8){position: absolute;left: 0.8rem;top: 3.8rem;}
				&:nth-child(9){position: absolute;right: 0;top: 2.4rem;}
				&:nth-child(10){position: absolute;right: 1rem;bottom: 0;}
			}
		}
	}
	.tasks{
		width: 94%;
		margin: 0.26rem 3%;
		background-color: #fff;
		border-radius:0.16rem;
		font-size: 0.28rem;
		overflow: hidden;
		.title{
			display: flex;
			justify-content: space-between;
			padding: 15px;
			font-size: 0.3rem;
			b{
				color: #F25C48;
				font-weight: bold;
			}
		}
		ul{
			// border-top: 1px solid #e1e9f5;
			// border-bottom: 1px solid #e1e9f5;
			// margin-bottom: 0.3rem;
			li{
				display: flex;
				justify-content: space-between;
				align-items: stretch;
				padding: 0.22rem 0.26rem;
				.left{
					display: flex;
					justify-content: flex-start;
				}
				span{
					width: 0.56rem;
					height: 0.56rem;
					margin-right: 0.1rem;
					background-size: 100%;
					background-repeat: no-repeat;
					&.icon3{
						background-image: url('../../static/images/redpacket/red-task3.png');
					}
					&.icon7{
						background-image: url('../../static/images/redpacket/red-task7.png');
					}
					&.icon2{
						background-image: url('../../static/images/redpacket/red-task2.png');
					}
					&.icon9{
						background-image: url('../../static/images/redpacket/red-task9.png');
					}
				}
				.info{
					h4{
						font-weight: normal;
						font-size: 0.25rem;
						color: #2e3a4d;
					}
					p{
						font-size: 0.22rem;
						color: #9aa6b8;
						padding-top: 0.06rem;
					}
				}
				.btn{
					width: 1.6rem;
					height: 0.6rem;
					line-height: 0.6rem;
					text-align: center;
					padding: 0 0.2rem;
					font-size: 0.24rem;
					font-weight: normal;
					border-radius: 0.3rem;
					display: flex;
					flex-direction:column;
					justify-content:center;
					&.status1{
						background-color: #F25C48;
						color: #fff;
					}
					&.status2{
						background-color: #FFD633;
						color: #2e3a4d;
					}
					&.status3{
						background-color: #D0D5E0;
						color: #fff;
					}
				}
				&:nth-child(odd){
					background-color: #EDF3FE;
				}
			}
		}
	}
	.get-info{
		height: 2rem;
		margin: 0 3%;
		position: relative;
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
		.roll{
			width: 85%;
			height: 0.64rem;
			background-color: rgba(0,0,0,0.5);
			border-radius: 0.32rem;
			overflow: hidden;
			position: absolute;
			left: 0;
			bottom: 0;
			.scroll{
				position: absolute;
				left: 0;
				top: 0;
				right: 0;
				transition: all 0.3s linear;
			}
			.item{
				height: 0.64rem;
				line-height: 0.64rem;
				font-size: 0.24rem;
				color: #fff;
				.name{
					color: #5DFFF4;
					display: block;
					float: left;
					max-width: 1.4rem;
				}
				i{
					font-style: normal;
					color: #FFA292;
				}
				img{
					width: 0.64rem;
					height: 0.64rem;
					border-radius: 50%;
					float: left;
					margin-right: 5px;
				}
			}
		}
		p{
			text-align: right;
			img{
				width: 0.75rem;
			}
			&:nth-child(2){
				padding-top: 0.2rem;
			};
		}
	}
	.rule{
		width:94%;
		background:#fff;
		margin: 0.26rem auto;
		padding: 0.5rem 0.44rem 0.3rem 0.44rem;
		box-sizing: border-box;
		box-shadow: 0 0.04rem 0.08rem 0px rgba(0,0,0,0.5);
		border-radius:0.16rem;
		color: #2e3a4d;
		font-size: 0.28rem;
		p{
			line-height: 1.5;
			padding-bottom: 0.16rem;
		}
		h5{
			text-align: center;
			font-size: 0.32rem;
			font-weight: bold;
			padding-bottom: 0.4rem;
		}
	}
	.copyright{
		font-size: 0.26rem;
		color: #11684F;
		text-align: center;
		padding: 0.1rem 0 0.5rem 0;
	}
	.mark{
		position: fixed;
		left: 0;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: 1;
		background-color: rgba(0,0,0,0.5);
		.close{
			width: 0.8rem;
			height: 0.8rem;
			position: fixed;
			left: 50%;
			top: 50%;
			transform: translate(-50%,3.7rem);
			background-image: url('../../static/images/redpacket/m_close.png');
			background-size: 80%;
			background-repeat: no-repeat;
			background-position: center center;
		}
		.mark-box{
			width: 5.5rem;
			height: 8rem;
			background-image: url('../../static/images/redpacket/red_share.png');
			background-size: 100%;
			background-repeat: no-repeat;
			position: fixed;
			left: 50%;
			top: 50%;
			transform: translate(-50%,-60%);
			border-radius: 0.24rem;
			overflow: hidden;
			.header{
				text-align: center;
				padding-top: 0.8rem;
				img{
					width: 1rem;
					height: 1rem;
					border-radius: 50%;
				}
				p{
					font-size: 0.32rem;
					padding-top: 0.3rem;
					color: #FFE2B1;
				}
			}
			.open{
				width: 1.6rem;
				height: 1.6rem;
				background-repeat: no-repeat;
				background-size: 100%;
				background-image: url('../../static/images/redpacket/red_share_open.png');
				position: fixed;
				left: 50%;
				bottom: 0.85rem;
				margin-left: -0.8rem;
				&.wait{
					animation: anim .5s infinite alternate;
				}
				&.en{
					background-image: url('../../static/images/redpacket/redMessageOpenBgBtn2.png');
				}
			}
		}
	}
}

@keyframes anim {
    from { transform: rotateY(180deg); }
    to { transform: rotateY(360deg); }
}

@keyframes heart {
    from {
        transform: translate(0, 0)
    }
    to {
        transform: translate(0, 12px)
    }
}